#ifndef GENERATETOTALSORT_H
#define GENERATETOTALSORT_H

#include <QDialog>


#include "db_cfg_g_def.h"
#include "DbCfgFun.h"
#include <QTimer>
#include <QXmlStreamWriter>
#include <QTextStream>
#include "MenuInfo.h"

namespace Ui {
    class GenerateTotalSort;
}

class GenerateTotalSort : public QDialog {
    Q_OBJECT
public:
    GenerateTotalSort(QWidget *parent = 0);
    ~GenerateTotalSort();

	void SetPogressShow(int AllNum);
	
	void WriteTotalSortIntoAllTable();

protected:
    void changeEvent(QEvent *e);

protected slots:
	void TimerOnStart();
private:
    Ui::GenerateTotalSort *ui;
	QTimer				  *m_Timer;
};

#endif // GENERATETOTALSORT_H
